<?php 
class Email extends CI_Controller {
	function __construct() {
		parent::__construct ();
	}
	
	function send_email($to = '',$subject = '',$content = ''){
		$this->load->library('email', $config);
		$this->email->set_newline("\r\n");
	
		$this->email->from('dfhdgf9437skd@163.com', 'zhanghao');
		$this->email->to($to);
		$this->email->subject($subject);
		$this->email->message($content);
		$this->email->send();
	}
}
?>